package com.xjzd.aop;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
public class AOPConfig {

    @Bean
    public DataPermissionAnnotationAdvisor dataPermissionAnnotationAdvisor() {
        return new DataPermissionAnnotationAdvisor();
    }

    @Bean
    public InterLayerInfoAnnotationAdvisor interLayerInfoAnnotationAdvisor() {
        return new InterLayerInfoAnnotationAdvisor();
    }
}
